package com.atguigu.spzx.product.api.anno;

import com.atguigu.spzx.product.api.fallback.ProductClientFallback;
import org.springframework.cloud.openfeign.EnableFeignClients;
import org.springframework.context.annotation.Import;

import java.lang.annotation.*;

/**
 * @author LT
 * @create 2023-11-20-20:49
 */
@Target({ElementType.TYPE})
@Retention(RetentionPolicy.RUNTIME)
@Documented
@Inherited
@EnableFeignClients(basePackages = "com.atguigu.spzx")
@Import(ProductClientFallback.class)
public @interface EnableProductClient {
}
